make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 12 Nov 2022 13:23:05 +0000 (13:23 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 12 Nov 2022 13:23:05 +0000 (13:23 +0000)
commit426dc18305cc839a150db15e14240b94fe92c478
tree8bbed8f7793521ed45e943a6a19447425fcc3ddf
parente837a13944d56d295f4bd294c11c628f8c8c0e6e
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c